package com.mutual.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.session.RowBounds;
import org.springframework.stereotype.Repository;

import com.mutual.entity.Member;

@Repository("memberDaoImpl")
public interface IMemberDao {

	public Member login(Member item);
	List<Member> listMemberAll();
	List<Member> listMemberAllUse();
	List<Member> getMemberByInvokeCode(@Param("invokeCode")String invokeCode);
	List<Member> listMemberByPage(RowBounds bounds,@Param("condition") Member condition);

	int listMemberByPageCount(@Param("condition") Member condition);
	
	Member getMemberById(@Param("id") String id);

	void add(Member item);

	void update(Member item);

	void updateStatus(Member item);

	public List<Member> listByCondition(@Param("condition") Member item);
	
}
